﻿@{
    Layout = null;
                //RsvpForm
}
@model User
@using ProMvc.Domain;
@using Newtonsoft.Json;
<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
    <script type="text/javascript" src="~/Scripts/jquery-2.1.0.min.js"></script>

    <script type="text/javascript">
    $(document).ready(function () {
        var model = $.parseJSON('@ViewBag.JsonData'.replace(/&quot;/g, '"'));
            //alert(model.UName);
        });
    </script>
</head>
<body>
    <div>
        index @ViewBag.Greeting
        <br />
        @Html.ActionLink("GetContent", "GetContent","Home")
        <br />
        @Html.ActionLink("GetViewResult", "GetViewResult", "Home")
        <br />
        @Html.ActionLink("RsvpForm", "RsvpForm", "Home")
        <br />
        @Html.ActionLink("Product","Index","Product")
        <br />
        @Html.Partial("PartialViewPage", 123)
        <br />
        @{Html.RenderPartial("PartialViewPage",999);}
    </div>
</body>
</html>
